package com.dz.common.bean;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Order {
    private Integer id;
    private String orderNo;
    private Integer userId;
    private Integer driverId;
    private String startAddress;
    private BigDecimal startLng;
    private BigDecimal startLat;
    private String endAddress;
    private BigDecimal endLng;
    private BigDecimal endLat;
    private BigDecimal distance;
    private Integer status;
    private BigDecimal estimatedPrice;//预估价格
    private BigDecimal actualPrice;//实际价格
    private LocalDateTime createTime;
    private LocalDateTime acceptTime;//接单时间
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private LocalDateTime cancelTime;//取消时间
}
